const Koa = require('koa');
export default (fn,port) => {
    const app = new Koa();
    app.use(fn);
    app.listen(port);
}

